<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@include file="/comm.jsp"%>


<a href="../">HOME</a>

<hr>

<form name='form1' method="post" target='result' action='result.jsp'>

<input type='hidden' name='op'>

redis

type
<select name="type">
<option>jedis</option>
<option>JedisCluster</option>
</select>


host  <input type=text name="host"  value="127.0.0.1" >  
port  <input type=text name="port"  value="6379" >  
pwd   <input type=password name="pwd"  value="" >   <br>
slowLogCount  <input type=text name="slowLogCount"  value="100" >  
key  <input type=text name="key"  value="testkey" >  
<br>


range  
start  <input type=text name="start"  value="0" > 
stop   <input type=text name="stop"  value="10" > 
<br>
score  
min   <input type=text name="min"  value="0" > 
max   <input type=text name="max"  value="100.0" > 
<br>
offset   <input type=text name="offset"  value="0" >  
count   <input type=text name="count"  value="10" >  

<br>

<br>
<input type="button"  value="connect" onclick="run('connect')"> 
<input type="button"  value="disConnect"  onclick="run('disConnect')"> 
<input type="button"  value="clientInfo" onclick="run('clientInfo')"> 
<input type="button"  value="info" onclick="run('info')"> 
<input type="button"  value="memoryDoctor" onclick="run('memoryDoctor')"> 
<input type="button"  value="slowLog" onclick="run('slowLog')"> 
<input type="button"  value="clientList" onclick="run('clientList')"> 
<input type="button"  value="moduleList" onclick="run('moduleList')"> 
<br>

<input type="button"  value="type" onclick="run('type')"> 
<input type="button"  value="dump" onclick="run('dump')"> 

<input type="button"  value="get" onclick="run('get')"> 
<input type="button"  value="lrange" onclick="run('lrange')"> 
<input type="button"  value="hgetAll" onclick="run('hgetAll')"> 
<input type="button"  value="scard" onclick="run('scard')"> 
<input type="button"  value="smembers" onclick="run('smembers')"> 


<br>
<input type="button"  value="zcard" onclick="run('zcard')"> 
<input type="button"  value="zcount" onclick="run('zcount')"> 
<input type="button"  value="zrangeWithScores" onclick="run('zrangeWithScores')"> 
<input type="button"  value="zrevrangeWithScores" onclick="run('zrevrangeWithScores')"> 


<input type="button"  value="zrangeByScoreWithScores" onclick="run('zrangeByScoreWithScores')"> 
<input type="button"  value="zrevrangeByScoreWithScores" onclick="run('zrevrangeByScoreWithScores')"> 



<hr>






</form>


<hr>

<iframe name='result' width='99%' height='99%' border=0></iframe>


<script>
function run(op){
    // alert("op="+op);
    form1.op.value=op;
    // alert("form1.op.value="+form1.op.value);
    
    form1.submit();
        
}

</script>

